<?

$DbUser = new oracleDb;
$DbUser->init($_SESSION["ORCLU"],
              $_SESSION["OPASS"],
              $_SESSION["SID"],
              _NO_COMMENT);

if($DbUser->connect()){

  $CFetchers->fetchLstUser($DbUser,
                           $SourceDb->fetchValue("srcDbUser"),
                           $nUser,
                           $lstUser);

  $DbUser->dc();
}else{

  $Misc->usrDieJs(_DB_CONN_ERROR);
}

if($Db->connect()){

  if($_SESSION["modify_mode"] == "Y"){


  }else{


  }

  echo  "<table border='1' class='dedeq'>\n".
        "<tr>\n".

        "<th> No   </th>\n".

        "<th> Drop </th>\n".

        "<th> USER </th>\n".

        "</tr>\n";

  $propTest = $GJs->jsOnFocus("GMisc.setYellow2(this);
                               alert(GMisc.getCurrentStyle(this,
                                                           \"background-color\"));").

              $GJs->jsOnBlur ("GMisc.setWhite2(this);");

  for($iRow = 0; $iRow < $_SESSION["init_num"]; $iRow++){

    echo  "<tr>\n".

          "<td> ".($iRow + 1)." </td>\n".

          "<td> ".$GHtml->formCheckBox("dropBox[]",
                                       ($iRow + 1),
                                       $Misc->stdProperties())." </td>\n".

          "<td> ".$GHtml->formDropDown("userEnt[".$iRow."]",
                                       $_POST["userEnt"][$iRow],
                                       $lstUser["USERID"],
                                       $Misc->stdProperties())." </td>\n".

          "</tr>\n";
  }

  echo  "</table><br/>\n";

  echo  $GHtml->formInputButton( "Entry-data",
                                 "entry",
                                 "Entry-data",
                                 $stlButton).
  			$GHtml->formInputButton( "Add-row",
                                 "addrow",
                                 "Add-row",
                                 $stlButton).
        $GHtml->formInputButton( "Drop-row",
                                 "droprow",
                                 "Drop-row",
                                 $stlButton).
      	"</form>\n ".
      	"</body>\n";

  $Db->dc();
}else{

  $Misc->usrDie(_DB_CONN_ERROR);
}

?>